﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PaginaMaestra.Master" AutoEventWireup="true" CodeBehind="Mostrar_Recetas.aspx.cs" Inherits="ProyectoWeb.Mostrar_Recetas" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1 style="text-align: center; font-size: 30pt; font-family: Arial;">RECETAS</h1>
<div style="height: 28px; text-align: center">
    <span style="font-size: 20px; font-family: Arial">Buscar Receta:</span>
    <asp:TextBox ID="txtNombreReceta" runat="server" Height="19px" Width="231px"></asp:TextBox>
&nbsp;<asp:ImageButton ID="iBtnBuscarReceta" runat="server" 
        ImageUrl="~/Img/search-col-btn.gif" Height="24px" Width="32px" 
        ImageAlign="Top" onclick="iBtnBuscarReceta_Click" />
</div>
<p>
    <span style="font-size: 18px; font-family: Arial">Buscar Recetas por:</span></p>
<div style="width: 1203px"><span style="font-size: 18px; font-family: Arial">
    Categoría:</span><asp:DropDownList ID="ddlCategorias" runat="server" 
        Height="20px" Width="178px">
        <asp:ListItem></asp:ListItem>
    </asp:DropDownList>
&nbsp;<asp:ImageButton ID="iBtnBuscarxCategoria" runat="server" 
        ImageUrl="~/Img/search-col-btn.gif" ImageAlign="Top" 
        onclick="iBtnBuscarxCategoria_Click" />
    &nbsp;<span style="font-size: 18px; font-family: Arial">&nbsp; Dificultad:<asp:DropDownList ID="ddlDificultad" runat="server" 
        Height="20px" Width="128px">
        <asp:ListItem></asp:ListItem>
        <asp:ListItem>Fácil</asp:ListItem>
        <asp:ListItem>Medio</asp:ListItem>
        <asp:ListItem>Difícil</asp:ListItem>
        <asp:ListItem>Chef</asp:ListItem>
    </asp:DropDownList>
&nbsp;<asp:ImageButton ID="iBtnBuscarxDificultad" runat="server" 
        ImageUrl="~/Img/search-col-btn.gif" ImageAlign="Top" 
        onclick="iBtnBuscarxDificultad_Click" style="width: 27px" />
    &nbsp; Tiempo:</span><asp:DropDownList ID="ddlTiempo" runat="server" 
        Height="20px" Width="178px">
        <asp:ListItem></asp:ListItem>
        <asp:ListItem>3 a 5 min</asp:ListItem>
        <asp:ListItem>5 a 10 min</asp:ListItem>
        <asp:ListItem>10 a 15 min</asp:ListItem>
        <asp:ListItem>15 a 30 min</asp:ListItem>
        <asp:ListItem>30 a 45 min</asp:ListItem>
        <asp:ListItem>45 a 60 min</asp:ListItem>
        <asp:ListItem>Más de 60 min</asp:ListItem>
    </asp:DropDownList>
&nbsp;<asp:ImageButton ID="iBtnBuscarxTiempo" runat="server" 
        ImageUrl="~/Img/search-col-btn.gif" ImageAlign="Top" 
        onclick="iBtnBuscarxTiempo_Click" />
    <span style="font-size: 18px; font-family: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:DropDownList 
        ID="ddlIngredientes" runat="server" 
        Height="20px" Width="178px" Visible="False">
    </asp:DropDownList>
    <asp:ImageButton ID="iBtnBuscarxIngrediente" runat="server" 
        ImageUrl="~/Img/search-col-btn.gif" ImageAlign="Top" 
        onclick="iBtnBuscarxIngrediente_Click" Visible="False" />
    </span>
    </div>
    <br />
    <asp:Label ID="lblTitulo" runat="server" Font-Size="XX-Large" 
        style="color: #333333; font-weight: 700; font-family: Arial"></asp:Label>
    <br />
    <br />
    <asp:Label ID="lblSubtitulo" runat="server" Font-Size="X-Large" 
        
        style="font-size: x-large; color: #808080; font-weight: 700; font-family: Arial"></asp:Label>
    <br />
    <br />

    <asp:GridView ID="gvRecetas" runat="server" BackColor="White" 
        BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
        ForeColor="Black" GridLines="Horizontal" style="text-align: center">
        <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
        <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
        <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F7F7F7" />
        <SortedAscendingHeaderStyle BackColor="#4B4B4B" />
        <SortedDescendingCellStyle BackColor="#E5E5E5" />
        <SortedDescendingHeaderStyle BackColor="#242121" />
    </asp:GridView>
    <br />
    <asp:HyperLink ID="hlAgregarReceta" runat="server" 
        NavigateUrl="~/Agregar_Recetas.aspx" Font-Underline="True">Agregar Receta</asp:HyperLink>
    &nbsp;<br />
    <br />
&nbsp;<asp:HyperLink ID="hlCategorias" runat="server" 
        NavigateUrl="~/Categorias.aspx" Font-Underline="True">Administrar Categoria</asp:HyperLink>
    &nbsp;&nbsp; 
    </asp:Content>